#pragma once
#include <string>
#include <iostream>
#include "TObject.h"
using namespace std;

class IExtractor {
public:
	virtual bool loadExtractor(string modelName = "", string method = "", void* param = NULL) = 0;
	virtual bool extract(cv::Mat img, TObject& res) = 0;
	virtual bool train(void) {cout << "no training method." << endl;return false;}
};